package xian.woniuxy.dao;

import org.springframework.stereotype.Component;
import xian.woniuxy.entity.Goods;

import java.util.List;

/**
 * @author ljy
 * @time 2021/12/25 11:40:17
 */
@Component
public interface GoodsMapper {
    void save(Goods goods);
    void delete(int goods_id);
    void update(Goods goods);
    List<Goods> getAll();
    Goods getOne(int id);
    List<Goods> getByName(String goods_name);

}